<div class="procedures form">
<?php echo $form->create('Procedure');?>
	<fieldset>
 		<legend><?php __('Modifier procédure');?></legend>
	<?php
		echo $form->input('proc_reference', array( 'label' => 'Référence :'));
		echo $form->input('proc_title', array( 'label' => 'Titre :'));
		echo $form->input('proc_scope', array( 'label' => 'Scope :', 'rows' => 2));
		
		echo $form->input('proc_duration', array( 'label' => 'Durée :'));
		echo $form->input('proc_prerequisites', array( 'label' => 'Prérequis :', 'rows' => 2));
		echo $form->input('proc_regression', array( 'label' => 'Régression'));
		
		echo "<div class=\"input text\">" ;
		echo "<label for=\"ProcedureProcPtype\">Type de Procédure :</label>" ;
		echo $form->select('proc_ptype', $procedureTypes, null, null, false);
		
		echo "<label for=\"ProcedureProcPhase\">Phase :</label>" ;
		echo $form->select('proc_phase', $phases, null, null, false);
		
		echo "<label for=\"ProcedureProcPart\">Partie :</label>" ;
		echo $form->select('proc_part', $parts, null, null, false);
		
		echo "<label for=\"ProcedureProcVersion\">Version :</label>" ;
		echo $form->select('proc_version', $versions, null, null, false);
		
		echo "<label for=\"ProcedureProcCat\">Catégorie :</label>" ;
		echo $form->select('proc_cat', $categories, null, null, false);
		
		echo "<label for=\"ProcedureProject\">Projet :</label>" ;
		echo $form->select('proc_project', $projects, null, null, false);
		echo "</div>";
	?>
	<?php echo $form->end('Submit');?>
	</fieldset>

</div>
<div class="actions">
	<ul>
		<li><?php echo $html->link('<img src="/ReqTrack/img/Supprimer.png" alt="Supprimer" title="Supprimer">', array('action'=>'delete', $form->value('Procedure.proc_index')), null, sprintf(__('Are you sure you want to delete # %s?', true), $form->value('Procedure.proc_index')), null, null, false); ?></li>
		<li><?php echo $html->link(__('Gérer '.$this->name, true), array('action'=>'index')); ?> </li>
		<li><?php echo $html->link(__('Ajouter '.$this->name, true), array('action'=>'add')); ?> </li>
		<li><?php echo $html->link(__('Autres actions', true), array('controller'=> 'summaries', 'action'=>'index')); ?> </li>
	</ul>
</div>
